package com.peng.mapper;

import com.peng.model.TPermission;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
* @author Love-ovo
* @description 针对表【t_permission(权限表)】的数据库操作Mapper
* @createDate 2025-03-14 21:28:15
* @Entity com.peng.model.TPermission
*/
@Mapper

public interface TPermissionMapper extends BaseMapper<TPermission> {

    List<TPermission> selectMenuPermissionByUserId(@Param("user_id")Integer user_id);
    List<TPermission> selectButtonPermissionByUserId(@Param("user_id")Integer user_id);

}




